package com.stream.service;

import java.util.List;

/**
 * Created by yebaokang on 2017/5/23.
 */
public interface SySUserRoleService {

    void saveOrUpdate(Long userId, List<Long> roleIdList);

    /**
     * 根据用户ID，获取角色ID列表
     * @param userId
     * @return
     */
    List<Long> queryRoleIdList(Long userId);

    void delete(Long userId);
}
